import request from '@/utils/request'

// 查询GdPayWithdraw列表
export function listGdPayWithdraw(query) {
    return request({
        url: '/api/v1/gdpaywithdraw',
        method: 'get',
        params: query
    })
}

// 查询GdPayWithdraw详细
export function getGdPayWithdraw (ID) {
    return request({
        url: '/api/v1/gdpaywithdraw/' + ID,
        method: 'get'
    })
}


// 新增GdPayWithdraw
export function addGdPayWithdraw(data) {
    return request({
        url: '/api/v1/gdpaywithdraw',
        method: 'post',
        data: data
    })
}

// 修改GdPayWithdraw
export function updateGdPayWithdraw(data) {
    return request({
        url: '/api/v1/gdpaywithdraw/'+data.ID,
        method: 'put',
        data: data
    })
}

// 删除GdPayWithdraw
export function delGdPayWithdraw(data) {
    return request({
        url: '/api/v1/gdpaywithdraw',
        method: 'delete',
        data: data
    })
}

